<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .poem {
            font-size: 1.4em;

            /* 设置书写方向 */
            writing-mode: vertical-rl;

            float: right;
        }

        .author {
            margin-right: -30px;
            color: #666;
            /* 文字对齐 left,right,start,end */
            text-align: end;
        }

        .author .year {
            /* 单个文字方向 */
            text-orientation: upright;

            /* 文字朝向是否组合一块，不然分散着一个一个 */
            text-combine-upright: all;



        }
    </style>
</head>

<body>

    <div class="poem">
        <h1>临江仙</h1>
        <div class="author">
            <span>李白</span>
            <span class="year">1999</span>
            <span class="to">~</span>
            <span class="year">2090</span>

        </div>
        <div class="content">
            <p>滚滚长江东逝水</p>
            <p>浪花淘尽英雄</p>
            <p>是非成败转头空</p>
            <p>青山依旧在</p>
            <p>几度夕阳红</p>
            <p>白发玉娇讲出上</p>
            <p>笑看秋月春风</p>
        </div>

    </div>

</body>

</html>